
;;; Code:

;; 插件
(use-package gruvbox-theme
  :defer t
  :ensure t
  :init (load-theme 'gruvbox-dark-hard t))


(use-package smart-mode-line;状态栏美化
  :defer 2
  :config
  (setq sml/no-confirm-load-theme t
	sml/theme 'respectful)
  (sml/setup))

;;; 括号颜色
(use-package rainbow-delimiters
  :ensure t
  :defer t
  :hook
  (prog-mode . rainbow-delimiters-mode))

;;; 缩进线
(use-package highlight-indentation
  :ensure t
  :defer t
  :hook
  (prog-mode . highlight-indentation-mode))

;;; 欢迎界面
(use-package dashboard
  :ensure t
  :defer nil
  :config
  ;; (setq dashboard-projects-backend 'projectile) ;; 读者可以暂时注释掉这一行，等安装了 projectile 后再使用
  (setq dashboard-startup-banner 'official) ;; 也可以自定义图片
  (setq dashboard-banner-logo-title "Welcome to Emacs!") ;; 个性签名，随读者喜好设置
  (setq dashboard-items '((recents  . 10)
			  (bookmarks . 5)
					;(projects . 5)
			  (agenda . 5)
			  (registers . 5)))
  (dashboard-setup-startup-hook))


(provide 'emacs-ui)
